home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / kernel / testport / generics.c next >
C/C++ Source or Header  |  1995-03-25  |  296b  |  19 lines

  1.  
  2. struct large_s {
  3.     double r, g, b;
  4.     char a[8];
  5.     double c, m, y;
  6. };
  7.  
  8. struct small_s {
  9.     int i;
  10. };
  11.  
  12. #include <dynace.h>
  13.  
  14. defGeneric( int,        gFunction_1)
  15. defGeneric( double,        gFunction_2)
  16. defGeneric( struct large_s,    gFunction_3)
  17. defGeneric( struct small_s,    gFunction_4)
  18.  
  19.